
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Insert title here</title>
    <style type="text/css">
        *{margin: 0px;padding: 0px;}
        .center{
            text-align: center;
            font-size: 40px;/*文字居中*/
            width: 100%;  /*宽度300px*/
            height: 100%;  /*高度50px*/
             /*背景颜色灰色*/
        }
    </style>
    <script type="text/javascript">
        window.onload = function(){
            var time = 5;
            var secondEle = document.getElementById("second");
            var timer = setInterval(function(){
                secondEle.innerHTML = time;
                time--;
                if(time==0){
                    clearInterval(timer);
                    location.href="http://localhost:83/login.html";
                }

            },1000);
        }
    </script>
</head>
<body background="../img/bj2.jpg">
<div class="center">
用户名或密码有误!请重新输入<span style="color:red" id="second">5</span>秒后将返回登陆页面重新输入<br>
<a href="http://localhost:83/login.html">点击直接返回登陆界面</a>
</div>
</body>

